using CodePlex.TfsLibrary.ObjectModel;

namespace CodePlex.CodePlexClientLibrary
{
    public class StubMakePatchView : IMakePatchView
    {
        public bool ShowNothingToPatch__Called = false;
        public SourceItem ShowStatus_Item;
        public SourceItemResult ShowStatus_Result;
        public bool ShowSyncupWarning__Called = false;

        public void ShowNothingToPatch()
        {
            ShowNothingToPatch__Called = true;
        }

        public void ShowStatus(SourceItem item,
                               SourceItemResult result)
        {
            ShowStatus_Item = item;
            ShowStatus_Result = result;
        }

        public void ShowSyncupWarning()
        {
            ShowSyncupWarning__Called = true;
        }
    }
}